#   Copyright (c) [2021] [FromVB2Python]
#   [FromVB2Python] is licensed under Mulan PSL v2.
#   You can use this software according to the terms and conditions of the Mulan PSL v2. 
#   You may obtain a copy of Mulan PSL v2 at:
#            http://license.coscl.org.cn/MulanPSL2 
#   THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.  
#   See the Mulan PSL v2 for more details.  

# 001-学考-温度转换-201510-14学考选考
# 根据整数1与整数2生成温度转换对照表
a = int(input('输入第1个整数:'))  # 获取第1个数
b = int(input('输入第2个整数:'))  # 获取第2个数
if a > b:
    a, b = b, a
print('摄氏温度  华氏温度')
for i in range(a, b+1):
    f = i * 9 / 5 + 32  # 摄氏温度转换为华氏温度
# 输出
print('  {}       {}'.format(i, f))